using UnityEngine;
using UnityEditor; 
using System.Collections;
using System.Collections.Generic;



[CustomEditor(typeof(ChangePhysicsContraints))]  
public class ChangePhysicsContraintsInspector : Editor
{
    private ChangePhysicsContraints effect;
	public override void OnInspectorGUI () 
	{  
        effect = target as ChangePhysicsContraints;
        effect.currentConstraints = (RigidbodyConstraints)EditorGUILayout.EnumMaskField ( "Constraints", effect.currentConstraints );
        EditorGUILayout.LabelField("revert");
        effect.revert = EditorGUILayout.Toggle(effect.revert);
	}
 

}

